package com.yxw.yxnet_cd_center.customer_service.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
@Data
@ToString(callSuper=true)
@ApiModel(value="RuleQueryDTO", description="规则查询DTO")
public class RuleQueryDTO implements Serializable {

    @NotNull(message = "服务类型不能为空")
    @ApiModelProperty("服务类型")
    private Long serviceType;

    @NotNull(message = "端口不能为空")
    @ApiModelProperty("端口")
    private Long portId;

    @NotNull(message = "规则类型不能为空")
    @ApiModelProperty("规则类型")
    private Long ruleType;

}
